<?php

class heroController extends Controller{
    public function herodis(){
        $hid = isset($_POST['hid']) ? $_POST['hid'] : 0;
        $heroModel = new heroModel();
        $str = $heroModel->herodis($hid);
        echo json_encode($str);
    }
}